﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mvp.DTO
{
    public interface ILoopupDTO
    {
        string Value { get; }
        string Text { get; }
    }

    public class SimpleLoopupDTO : ILoopupDTO
    {
        private string _text;
        private string _value;

        public SimpleLoopupDTO(string value,string text)
        {
            _text = text;
            _value = value;
        }

        #region ILoopupDTO 成员

        public string Value
        {
            get { return _value; }
        }

        public string Text
        {
            get { return _text; }
        }

        #endregion
    }
}
